package com.heima.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.admin.dtos.ChannelDto;
import com.heima.model.admin.pojos.Channel;
import com.heima.model.common.dtos.ResponseResult;

public interface ChannelService extends IService<Channel> {

    /**
     * 频道分页查找
     * @param channelDto
     * @return
     */
    ResponseResult pageList(ChannelDto channelDto);

    /**
     * 删除频道
     * @param id
     * @return
     */
    ResponseResult deleteById(Integer id);
}
